package com.sunducation.wts.navigation3.navigation.fragment

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import androidx.navigation.Navigation
import com.sunducation.wts.navigation3.R
import kotlinx.android.synthetic.main.fragment_register.view.*

/**
 * Created by idisfkj on 2019-08-07.
 * Email : idisfkj@gmail.com.
 */
class RegisterFragment : Fragment() {

    override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
        return inflater.inflate(R.layout.fragment_register, container, false).apply {
            register_bt.setOnClickListener(Navigation.createNavigateOnClickListener(RegisterFragmentDirections.actionGoToShopListPage()))
        }
    }
}